PHPUnit\Framework\TestResult D

Total Complexity 182
Dependencies 44
Dependents 10
Total lines 1,213
Lines of code 608
Logical lines of code 280
Comment lines 321
Methods 70
Properties 35

Methods 70

Method Rating Maintainability Complexity Lines of code
run()
D
16
63 279
addError()
A
46 13 38
addFailure()
A
47 13 35
shouldTimeLimitBeEnforced()
A
57 8 18
endTest()
S
56 4 17
addWarning()
S
63 4 10
wasSuccessfulAndNoTestIsRiskyOrSkippedOrIncomplete()
S
78 4 3
removeListener()
S
68 3 7
flushListeners()
S
69 3 7
startTestSuite()
S
67 3 8
startTest()
S
68 2 7
endTestSuite()
S
74 2 5
wasSuccessfulIgnoringWarnings()
S
79 2 3
wasSuccessful()
S
79 2 3
stopOnFailure()
S
81 1 3
stopOnWarning()
S
81 1 3
enforcesTimeLimit()
S
82 1 3
beStrictAboutTestsThatDoNotTestAnything()
S
81 1 3
isStrictAboutTestsThatDoNotTestAnything()
S
82 1 3
beStrictAboutOutputDuringTests()
S
81 1 3
isStrictAboutOutputDuringTests()
S
82 1 3
beStrictAboutResourceUsageDuringSmallTests()
S
81 1 3
isStrictAboutResourceUsageDuringSmallTests()
S
82 1 3
enforceTimeLimit()
S
81 1 3
time()
S
82 1 3
beStrictAboutTodoAnnotatedTests()
S
81 1 3
isStrictAboutTodoAnnotatedTests()
S
82 1 3
stopOnRisky()
S
81 1 3
stopOnIncomplete()
S
81 1 3
stopOnSkipped()
S
81 1 3
stopOnDefect()
S
81 1 3
getConvertWarningsToExceptions()
S
82 1 3
setDefaultTimeLimit()
S
81 1 3
setTimeoutForSmallTests()
S
81 1 3
setTimeoutForMediumTests()
S
81 1 3
setTimeoutForLargeTests()
S
81 1 3
getTimeoutForLargeTests()
S
82 1 3
setRegisterMockObjectsFromTestArgumentsRecursively()
S
81 1 3
stopOnError()
S
81 1 3
addListener()
S
80 1 3
convertWarningsToExceptions()
S
81 1 3
failures()
S
82 1 3
allHarmless()
S
80 1 3
riskyCount()
S
80 1 3
allCompletelyImplemented()
S
80 1 3
notImplementedCount()
S
80 1 3
risky()
S
82 1 3
notImplemented()
S
82 1 3
noneSkipped()
S
80 1 3
skippedCount()
S
80 1 3
skipped()
S
82 1 3
errorCount()
S
80 1 3
errors()
S
82 1 3
failureCount()
S
80 1 3
warningCount()
S
80 1 3
getConvertNoticesToExceptions()
S
82 1 3
warnings()
S
82 1 3
passed()
S
82 1 3
topTestSuite()
S
82 1 3
getCollectCodeCoverageInformation()
S
80 1 3
count()
S
82 1 3
shouldStop()
S
82 1 3
stop()
S
81 1 3
getCodeCoverage()
S
82 1 3
setCodeCoverage()
S
81 1 3
convertDeprecationsToExceptions()
S
81 1 3
convertErrorsToExceptions()
S
81 1 3
getConvertErrorsToExceptions()
S
82 1 3
convertNoticesToExceptions()
S
81 1 3
getConvertDeprecationsToExceptions()
S
82 1 3